package com.data.bean;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 分类管理
 *
 * @author:HingLo
 * @create 2017-08-25 11:18
 **/
@Entity
@Table(name = "menu")
public class Menu {

    @Id
    private String id;//编号
    private String name;//名称
    private int type;//所属分类(软件，游戏)
    private String fid;//父类id
    private byte[] icon;//图标
    private String contents;//说明

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name.trim();
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid.trim();
    }

    public byte[] getIcon() {
        return icon;
    }

    public void setIcon(byte[] icon) {
        this.icon = icon;
    }

    public void setContents(String contents) {
        this.contents = contents;
    }
}
